package com.budwk.app.sqfwV2.enums;

import lombok.Getter;

/**
 * @author zhangp
 * @description TODO
 * @className CenturyCitySafeCheckGasEnum
 * @Date 17:24 2024/4/3
 */
@Getter
public enum CenturyCitySafeCheckGasExcelEnum {
    /*①、②、③、④、⑤、⑥、⑦、⑧、⑨、⑩ ⑪、⑫、⑬、⑭、⑮*/

    ONE("1", "①"),
    TWO("2", "②"),
    THREE("3", "③"),
    FOUR("4", "④"),
    FIVE("5", "⑤"),
    SIX("6", "⑥"),
    TRUE("true", "是"),
    FALSE("false", "否"),
    ;


    private final String code;
    private final String value;

    CenturyCitySafeCheckGasExcelEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public static CenturyCitySafeCheckGasExcelEnum getEnum(String code) {
        for (CenturyCitySafeCheckGasExcelEnum o : CenturyCitySafeCheckGasExcelEnum.values()) {
            if (o.code.equals(code)) {
                return o;
            }
        }
        return null;
    }
}
